﻿@using blacksoft.Helpers

@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_LayoutVentas.cshtml";
}
@model blacksoft.Models.mRuc
@if (TempData["NOHAYRUC"] != null)
{
    <div class="error grid_12">
        <h3>Error en Index: @TempData["NOHAYRUC"]</h3>
        <a class="hide_btn" href="#"></a>
    </div>
}

<div class="block big">
    <div class="titlebar">
        <h3>Consulta de R.U.C.</h3>
    </div>
    <div class="block_cont">
        @Html.AntiForgeryToken()
        @using (Html.BeginForm())
        {
            <div class="form">
                @Html.ValidationSummary(true)
                <div class="form-row">
                    @Html.LabelForRequired(model => model.RUC)
                    @Html.EditorFor(model => model.RUC)
                    @Html.ValidationMessageFor(model => model.RUC)
                </div>
                <br />
                <div class="form-row">
                    <input type="submit" value="Consultar" class="btn btn-default" />
                </div>
            </div>
        }
    </div>
</div>



